<?php session_start();
if($_SESSION['id_tipo_usuario']==1 AND $_SESSION['id_usuario']){

require_once '../framework/fw.php';	

require '../view/abm_enfermerosView.php';		
require '../model/Enfermero.php';
require '../model/Contrasena.php';

$enfermeros= new Enfermero;
$contrasenas = new Contrasena;
$res = $enfermeros->get_enfermeros_super();

$pagina = new abm_enfermerosView;
$pagina->array_registros = $res;


$pagina->Render();
}
else{	session_destroy();
	header("location: clinica.htm");
}
?>